package com.yunao.dao;

import com.yunao.entity.Function;
import org.springframework.data.jpa.repository.JpaRepository;


public interface FunctionRepository extends JpaRepository<Function,Integer> {
    Function findAllByOrganIdAndType(Integer organId,Integer type);
    Function findAllByUserId(Integer userId);
}
